package com.chendx.store.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.chendx.model.common.dtos.ResponseResult;
import com.chendx.model.user.UserInfoVo;
import com.chendx.model.user.dto.UserDto;
import com.chendx.model.user.pojo.User;

/**
 * Created by chendx on 2022/4/19.
 */
public interface UserService extends IService<User>{

    /**
     * 用户信息
     * @return
     */
    public ResponseResult loadUserInfo();

    /**
     * 用户基础信息
     * @return
     */
    public ResponseResult loadBaseInfo();

    /**
     * 获取用户所有信息
     * @return
     */
    public ResponseResult loadAllInfo();


    UserInfoVo loadUser(String userId);

    public ResponseResult updateInfo(UserDto dto);
}
